- 
		Home
	
 
	- 
Getwid – Gutenberg Blocks
 
- 
1.8.1
 
- 
Code
 
- 
Classes
 
-  AssetsOptimization 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											55 | 
										
																			
											| Dependencies | 
											0 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											390 | 
										
																			
											| Lines of code | 
											164 | 
										
																			
											| Logical lines of code | 
											95 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											148 | 
										
																			
											| Methods | 
											15 | 
										
																			
											| Properties | 
											2 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 15
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| substr_replace() | 
									A  | 
																	48 | 
													15 | 
													33 | 
							
					
				| filter_css() | 
									A  | 
																	48 | 
													8 | 
													31 | 
							
					
				| inject_in_html() | 
									S  | 
																	51 | 
													5 | 
													27 | 
							
					
				| should_buffer() | 
									S  | 
																	64 | 
													6 | 
													9 | 
							
					
				| __construct() | 
									S  | 
																	61 | 
													3 | 
													12 | 
							
					
				| strpos() | 
									S  | 
																	67 | 
													3 | 
													7 | 
							
					
				| strlen() | 
									S  | 
																	68 | 
													3 | 
													7 | 
							
					
				| getInstance() | 
									S  | 
																	72 | 
													2 | 
													6 | 
							
					
				| buffer_start() | 
									S  | 
																	74 | 
													2 | 
													5 | 
							
					
				| buffer_end() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| filter_test() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| is_valid_buffer() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| mbstring_available() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| load_assets_on_demand() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| move_css_to_head() | 
									S  | 
																	79 | 
													1 | 
													3 |